#include<iostream>
using namespace std;
int main()
{
	char n;
	cin >> n;
	if (n % 2==0)
	{
		cout << "NO";
	}
	else
	{
		cout << "YES";
	}
	return 0;
}